package com.google.code.timetrail.backend;

import java.util.ArrayList;

public class Control {
	private Person player;
	private ArrayList<Person> members;
	private Inventory inv;
	private travelSpeed pace;
	private consumptionRate rations;
	private Spaceship ship;
	
	public Control() {
		player = new Person();
		members = new ArrayList<Person>();
		inv = new Inventory();
		pace = travelSpeed.STOPPED;
		rations = consumptionRate.NONE;
		ship = new Spaceship();
	}
	
	public Person getPlayer(){
		return player;
	}
	
	public ArrayList<Person> getMembers(){
		return members;
	}
	
	public Inventory getInv(){
		return inv;
	}
	
	public travelSpeed getPace(){
		return pace;
	}
	
	public consumptionRate getRations(){
		return rations;
	}
	
	public Spaceship getShip(){
		return ship;
	}
	
	public void setPlayer(Person player){
		this.player = player;
	}
	
	public void setMembers(ArrayList<Person> members){
		this.members = members;
	}
	
	public void setInv(Inventory inv){
		this.inv = inv;
	}
	
	public void setPace(travelSpeed pace){
		this.pace = pace;
	}
	
	public void setRations(consumptionRate rations){
		this.rations = rations;
	}
	
	public void setShip(Spaceship ship){
		this.ship = ship;
	}
}
